/**
 *  IMPORTANT: THESE METHODS ARE THE EQUIVALENT TO OVERRIDES.
 *  DO NOT CHANGE THE SIGNATURE WITHOUT REFLECTING IN THE CANVAS VIEW.
 */

/**
 *  Toggles the display elements in the results panel.
 *  @param {boolean} show - the toggle to show/hide. If true, show. Else, hide.
 */
function showHideResultElements( show ) {
  results.toggle(show);
  options.toggle(show);
  footer.toggle(show);
  //gadgets.window.adjustHeight();
}

function showHideGoogleAd( show ) {
  ad.toggle(show); 
}

/* END OVERRIDES */

function showOnMap() {
  var canvas_view = new gadgets.views.View("canvas");
  gadgets.views.requestNavigateTo(canvas_view, undefined);
}